package com.hd123.rumba.sql;

import java.util.Iterator;
import java.util.List;

import com.hd123.rumba.exception.BusinessException;

public interface IResultPage {
  public Iterator getContentIterator() throws BusinessException;

  public List getContentList() throws BusinessException;

  public int getPage() ;

  public int getPageSize() ;

  public int getElementCount() ;

  public int getPageCount() ;

  public int getPageStart() ;

  public int getPageEnd() ;

  public int getPrevPage() ;

  public int getNextPage() ;

  public boolean isFirstPage();

  public boolean isLastPage();

  public String getId() ;

  public void setId(String id) ;

}
